;_________________________________________
;
; Available Cinematic Script Commands
;
; time/frame	Create_Object,	id (slot), preset_name, x, y, z, facing, animation
; id can be -1 to mean do not store this object, and do not destroy
; 0 Create_Object, 0, .44 Magnum, 0, 0, 0, 180, "Human.jump"
;
; time/frame	Destroy_Object, id (slot)
; 0 Destroy_Object, 0
;
; time/frame	Play_Animation, id (slot), animation_name, looping, sub_obj_name
; 0 Play_Animation, 0, "Human.Jump", false
;
; time/frame	Control_Camera,	id ( slot )
; use id -1 for disabling control;
; note this will also disable star control and disbale the hud
; 0 Control_Camera,	0
;
;_________________________________________

;*******************  CHEAT SHEET ******************************

;Start frame	create_object	slot number	model	x,y,z,facing	animation name( model*hierarchy*.anim )
;Start frame	Play_Animation 	slot number	anim name ( model*hierarchy*.anim )	looping		Sub Object
;Start frame	Play_Audio	wave filename	slot number	bone name
;								* no slot # / bone name = 2D Audio
;0= NO LOOP ( kills object when finshed )	1= LOOP

;************************* LEVEL 5: WINTROOPS  ************************


;*** THis anim starts on FRAME 10 in MAX *********

; ****************************** rope

-58	Create_Object,		1, "x5c_rope",			0, 0, 0, 0
-58	Play_Animation,		1, "x5c_rope.x5ca_ropedrop", 1
-100	Play_Animation,		1, "x5c_rope.x5ca_ropeloiter", 1
-165	Play_Animation,		1, "x5c_rope.x5ca_ropeup", 1
-220	Destroy_Object,		1

; ****************************** spawner

-100	Create_Object,		2, "x5c_spawner",			0, 0, 0, 0
-165 	Destroy_Object,		2

; ****************************** troop
-100    Create_Real_Object,	3, "Nod_FlameThrower_0", 2, "SPAWNER"
-100    Attach_Script,          3, "M05_Triangle_Unit", "2"
-100	Attach_To_Bone,		3, 2, "spawner"
-100	Play_Animation,		3, "s_a_human.H_A_Troop2", 0
-165	Attach_To_Bone,		3, -1, "spawner"


; ****************************** spawner01

-10	Create_Object,		4, "x5c_spawner01",			0, 0, 0, 0
-10	Play_Animation,		4, "x5c_spawner01.x5ca_sp01A", 1
-100	Play_Animation,		4, "x5c_spawner01.x5ca_sp01B", 1
-165	Play_Animation,		4, "x5c_spawner01.x5ca_sp01C", 1
-220 	Destroy_Object,		4



; ****************************** Rope Guy
-10	Create_Real_Object,	5, "Nod_MiniGunner_1Off", 4, "spawner01"			
-10	Attach_To_Bone,		5, 4, "spawner01"
-10	Play_Animation,		5, "s_a_human.H_A_Troop1a", 1
-100	Play_Animation,		5, "s_a_human.H_A_Troop1b", 1
-165	Play_Animation,		5, "s_a_human.H_A_Troop1c", 1
-220	Destroy_Object,		5
-10	Set_Primary,		5

; ****************************** Primary Destroyed

1000000	Destroy_Object, 1
1000000	Destroy_Object, 2
1000000	Destroy_Object, 4


